package oo.day03;

import com.sun.org.apache.xerces.internal.impl.xpath.XPath;

public class RefArrayDemo {
    public static void main(String[] args) {
        Student[] students = new Student[3];
        students[0] = new Student("dqh",20,true);
        students[1] = new Student("dbx",21,false);
        students[2] = new Student("xyy",15,true);
        students[2].age = 28;
        for (int i = 0; i <students.length ; i++) {
            students[i].say();

        }
    }
    
}
